Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings> Class / SaveToLocalFile Method


In This Topic
    SaveToLocalFile Method (NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings>)
    In This Topic
    Saves the document to the specified file.
    Syntax
    'Declaration
     
    
    Public Sub SaveToLocalFile( _
       ByVal fileName As System.String, _
       Optional ByVal documentFormat As TDocFormat, _
       Optional ByVal saveSettings As TDocSaveSettings, _
       Optional ByVal progress As NProgress _
    ) 
    'Usage
     
    
    Dim instance As NDocumentView(Of TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings)
    Dim fileName As System.String
    Dim documentFormat As TDocFormat
    Dim saveSettings As TDocSaveSettings
    Dim progress As NProgress
     
    instance.SaveToLocalFile(fileName, documentFormat, saveSettings, progress)
    public void SaveToLocalFile( 
       System.string fileName,
       TDocFormat documentFormat,
       TDocSaveSettings saveSettings,
       NProgress progress
    )

    Parameters

    fileName
    documentFormat
    saveSettings
    progress
    Remarks
    The fileName must be a properly formatted path string, for the current OS.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also